/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controleur;

import connexionOracle.AccesBD;
import connexionOracle.Requete;
import java.sql.ResultSet;
import java.sql.SQLException;
import projection.Film;

/**
 *
 * @author tommy
 */
public class Utils {
    private AccesBD abd;
    public int getAFilmDuration(String filmName) throws SQLException{
        return  Integer.parseInt(Requete.getFilmInfos(filmName,1).toString());
    }
}
